import * as types from './types'

export function setOffset( offset ){
	return (dispatch, getState) => {
		dispatch({
			type: types.PAGINATE_SET_OFFSET,
			offset
		});
  	}
}

export function clearPagination() {
	return (dispatch, getState) => {
		dispatch({
			type: types.CLEAR_PAGINATION
		});
  	}
}